package com.hlkj.pay.vo.pay.resp;

import com.hlkj.pay.vo.BaseMerchantResp;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;
import java.util.Map;

/**
* 服务商通道映射配置信息
* @TableName t_provider_channel_config
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProviderChannelConfigResp extends BaseMerchantResp {
    /**
    * 服务商编码
    */
    @NotBlank(message="[服务商编码]不能为空")
    @Size(max= 64,message="编码长度不能超过64")
    @Schema(description = "服务商编码")
    private String providerCode;
    /**
    * 渠道编码
    */
    @NotBlank(message="[渠道编码]不能为空")
    @Size(max= 64,message="编码长度不能超过64")
    @Schema(description = "渠道编码")
    private String channelCode;
    /**
    * 状态 0 关闭 1 启用
     * @see com.hlkj.pay.enums.CommonEnum.YES_NO_TYPE
    */
    @Schema(description = "状态 0 关闭 1 启用")
    private Integer status;
    /**
     * 支付宝生活号id
     */
    @Schema(description = "支付宝生活号id")
    private Long alipayPubId;
    /**
     * 支付宝小程序id
     */
    @Schema(description = "支付宝小程序id")
    private Long alipayMiniId;
    /**
     * 参数配置
     */
    @Schema(description = "参数配置")
    private Map<String,String> paramsConfigValue;
    /**
     * 微信公众号id
     */
    @Schema(description = "微信公众号id")
    private List<Long> wechatPubIdList;
    /**
     * 微信小程序id
     */
    @Schema(description = "微信小程序id")
    private List<Long> wechatMiniIdList;

}
